package cn.ym.product.service;

import cn.ym.basic.utils.AjaxResult;
import cn.ym.product.domain.Product;
import cn.ym.basic.service.BaseService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ym
 * @since 2023-04-01
 */
public interface IProductService extends BaseService<Product> {
    //服务上架接口
    AjaxResult onsale(Long[] ids, HttpServletRequest request);
    //下架
    AjaxResult offsale(Long[] ids);
}
